package com.lin.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.blog.entity.RolePermission;
import com.lin.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lin
 * @since 2020-03-08
 */
public interface IRolePermissionService extends IService<RolePermission> {

    /**
     * 通过roleId更新权限
     * @param roleId
     * @param permissionList
     * @return
     */
    public Result updateRolePermission(Long roleId, List<Long> permissionList);
}
